package com.qmgyl.marketshop.vo;



import java.math.BigDecimal;

/**
 * <p>
 * 订单主表
 * </p>
 *
 * @author xiaowei
 * @since 2018-05-02
 */
public class OrderMain {

    private static final long serialVersionUID = 1L;

	private Long id;
	private Long orderId;
    /**
     * -1已取消0未确认1商家已确认2后台已确认3已发运4配送中5已收货6对账完成
     */
	private Integer status;
	private Integer cT;
    /**
     * 支付方式
     */
	private Integer paymentType;
    /**
     * 订单来源
     */
	private Integer orderFrom;
    /**
     * 订单备注
     */
	private String orderMark;
    /**
     * 城市id
     */
	private Integer cityId;
    /**
     * 下单用户id
     */
	private Integer userId;
    /**
     * 配送id
     */
	private Long deliveryId;
    /**
     * 门店id
     */
	private Long companyId;
    /**
     * 商品的总价格
     */
	private BigDecimal goodsAmount;
    /**
     * 包装物总金额
     */
	private BigDecimal packageAmount;
    /**
     * 总优惠金额
     */
	private BigDecimal totalDiscount;
    /**
     * 优惠券优惠金额
     */
	private BigDecimal couponDiscount;
    /**
     * 满减类促销优惠金额
     */
	private BigDecimal promotionDiscount;
    /**
     * 使用余额
     */
	private BigDecimal balanceMoney;
    /**
     * 已支付金额
     */
	private BigDecimal paidMoney;
    /**
     * 运费
     */
	private BigDecimal freightFee;
    /**
     * 支付方式
     */
	private Integer uT;
	private Integer isDeleted;
    /**
     * 备注
     */
	private String remark;
    /**
     * 订单类型
     */
	private Integer orderType;
    /**
     * 支付状态
     */
	private Integer payStatus;
	private Integer areaId;
	private Integer shopId;
    /**
     * 分配状态
     */
	private Integer allotStatus;
    /**
     * 实收金额
     */
	private BigDecimal receivePrice;
	/**
	 * 期望配送时间
	 */
	private Integer expectStartDeliveryTime;

	/**
	 * 期望截止配送时间
	 */
	private Integer expectEndDeliveryTime;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCT() {
		return cT;
	}

	public void setCT(Integer cT) {
		this.cT = cT;
	}

	public Integer getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

	public Integer getOrderFrom() {
		return orderFrom;
	}

	public void setOrderFrom(Integer orderFrom) {
		this.orderFrom = orderFrom;
	}

	public String getOrderMark() {
		return orderMark;
	}

	public void setOrderMark(String orderMark) {
		this.orderMark = orderMark;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Long getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(Long deliveryId) {
		this.deliveryId = deliveryId;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	public BigDecimal getPackageAmount() {
		return packageAmount;
	}

	public void setPackageAmount(BigDecimal packageAmount) {
		this.packageAmount = packageAmount;
	}

	public BigDecimal getTotalDiscount() {
		return totalDiscount;
	}

	public void setTotalDiscount(BigDecimal totalDiscount) {
		this.totalDiscount = totalDiscount;
	}

	public BigDecimal getCouponDiscount() {
		return couponDiscount;
	}

	public void setCouponDiscount(BigDecimal couponDiscount) {
		this.couponDiscount = couponDiscount;
	}

	public BigDecimal getPromotionDiscount() {
		return promotionDiscount;
	}

	public void setPromotionDiscount(BigDecimal promotionDiscount) {
		this.promotionDiscount = promotionDiscount;
	}

	public BigDecimal getBalanceMoney() {
		return balanceMoney;
	}

	public void setBalanceMoney(BigDecimal balanceMoney) {
		this.balanceMoney = balanceMoney;
	}

	public BigDecimal getPaidMoney() {
		return paidMoney;
	}

	public void setPaidMoney(BigDecimal paidMoney) {
		this.paidMoney = paidMoney;
	}

	public BigDecimal getFreightFee() {
		return freightFee;
	}

	public void setFreightFee(BigDecimal freightFee) {
		this.freightFee = freightFee;
	}

	public Integer getUT() {
		return uT;
	}

	public void setUT(Integer uT) {
		this.uT = uT;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Integer getAllotStatus() {
		return allotStatus;
	}

	public void setAllotStatus(Integer allotStatus) {
		this.allotStatus = allotStatus;
	}

	public BigDecimal getReceivePrice() {
		return receivePrice;
	}

	public void setReceivePrice(BigDecimal receivePrice) {
		this.receivePrice = receivePrice;
	}

	public Integer getcT() {
		return cT;
	}

	public void setcT(Integer cT) {
		this.cT = cT;
	}

	public Integer getuT() {
		return uT;
	}

	public void setuT(Integer uT) {
		this.uT = uT;
	}

	public Integer getExpectStartDeliveryTime() {
		return expectStartDeliveryTime;
	}

	public void setExpectStartDeliveryTime(Integer expectStartDeliveryTime) {
		this.expectStartDeliveryTime = expectStartDeliveryTime;
	}

	public Integer getExpectEndDeliveryTime() {
		return expectEndDeliveryTime;
	}

	public void setExpectEndDeliveryTime(Integer expectEndDeliveryTime) {
		this.expectEndDeliveryTime = expectEndDeliveryTime;
	}


}
